package com.qfedu.meidijiaju.mapper;


import com.qfedu.meidijiaju.entity.CardYxy;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author meidimeiju
 * @since 2022-10-09
 */
public interface CardYxyMapper extends BaseMapper<CardYxy> {

    List<CardYxy> allCard(int typeId);

    CardYxy findCardById(int id);

    int updateCommentNum(@Param(value = "comments") int comments,@Param(value = "id") int id);
}
